package Ventanas;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;




/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
/**
 * @author lucas
 */
public class VentanaNuevoTurnoConfirmarPaciente extends JFrame {

	{
		//Set Look & Feel
		try {
			javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
		} catch(Exception e) {
			e.printStackTrace();
		}
	}

	
	public VentanaNuevoTurnoConfirmarPaciente() {
		initComponents();
	}

	private void initComponents() {
	
		btnCorrecto = new JButton();
		btnIncorrecto = new JButton();
		space = new JPanel(null);
		panel = new JPanel();
		lblNombre = new JLabel();
		lblApellido = new JLabel();
		lblTipoDoc = new JLabel();
		lblNroDoc = new JLabel();
	
		//======== this ========
		setTitle("Paciente seleccionado");
		setIconImage(new ImageIcon("C:\\Documents and Settings\\LUCAS\\Escritorio\\SEMINARIO I\\images\\identidad.png").getImage());
		setResizable(false);
		setAlwaysOnTop(true);
		setVisible(true);
		Container contentPane = getContentPane();
		contentPane.setLayout(null);
	
		//---- btnCorrecto ----
		btnCorrecto.setText("Paciente Correcto");
		btnCorrecto.setIcon(new ImageIcon("C:\\Documents and Settings\\LUCAS\\Escritorio\\images\\tildeOKpequeno.jpg"));
		contentPane.add(btnCorrecto);
		btnCorrecto.setBounds(24, 111, 166, btnCorrecto.getPreferredSize().height);
	
		//---- btnIncorrecto ----
		btnIncorrecto.setText("Paciente Incorrecto");
		btnIncorrecto.setIcon(new ImageIcon("C:\\Documents and Settings\\LUCAS\\Escritorio\\images\\cruzCancelar.jpg"));
		contentPane.add(btnIncorrecto);
		btnIncorrecto.setBounds(205, 111, 166, btnIncorrecto.getPreferredSize().height);
		contentPane.add(space);
		space.setBounds(0, 145, 412, 52);
		{
			btnAceptar = new JButton();
			space.add(btnAceptar);
			btnAceptar.setText("Aceptar");
			btnAceptar.setPreferredSize(new java.awt.Dimension(77, 22));
		}
		{
			btnCancelar = new JButton();
			space.add(btnCancelar);
			btnCancelar.setText("Cancelar");
			btnCancelar.setPreferredSize(new java.awt.Dimension(77, 22));
		}
		
		//======== panel ========
		{
			panel.setBorder(new TitledBorder(null, "\u00bfEs correcto el paciente?", TitledBorder.CENTER, TitledBorder.TOP));
			panel.setLayout(null);
	
			//---- lblNombre ----
			lblNombre.setText("Nombre:");
			panel.add(lblNombre);
			lblNombre.setBounds(new Rectangle(new Point(10, 19), lblNombre.getPreferredSize()));
	
			//---- lblApellido ----
			lblApellido.setText("Apellido:");
			panel.add(lblApellido);
			lblApellido.setBounds(new Rectangle(new Point(10, 38), lblApellido.getPreferredSize()));
	
			//---- lblTipoDoc ----
			lblTipoDoc.setText("Tipo Documento:");
			panel.add(lblTipoDoc);
			lblTipoDoc.setBounds(new Rectangle(new Point(10, 57), lblTipoDoc.getPreferredSize()));
	
			//---- lblNroDoc ----
			lblNroDoc.setText("N\u00famero de Documento:");
			panel.add(lblNroDoc);
			{
				jLabel1 = new JLabel();
				panel.add(jLabel1);
				jLabel1.setText("Nombre:");
				jLabel1.setBounds(24, 22, 47, 16);
			}
			{
				jLabel2 = new JLabel();
				panel.add(jLabel2);
				jLabel2.setText("Apellido:");
				jLabel2.setBounds(24, 44, 47, 16);
			}
			{
				jLabel3 = new JLabel();
				panel.add(jLabel3);
				jLabel3.setText("Tipo Documento:");
				jLabel3.setBounds(23, 74, 93, 16);
			}
			{
				jLabel4 = new JLabel();
				panel.add(jLabel4);
				jLabel4.setText("Numero Documento:");
				jLabel4.setBounds(23, 99, 113, 16);
			}
			{
				txtNombre = new JTextField();
				panel.add(txtNombre);
				txtNombre.setBounds(75, 20, 134, 20);
			}
			{
				txtApellido = new JTextField();
				panel.add(txtApellido);
				txtApellido.setBounds(75, 46, 134, 20);
			}
			{
				txtTipoDoc = new JTextField();
				panel.add(txtTipoDoc);
				txtTipoDoc.setBounds(112, 72, 97, 20);
			}
			{
				txtNroDoc = new JTextField();
				panel.add(txtNroDoc);
				txtNroDoc.setBounds(129, 97, 80, 20);
			}
			lblNroDoc.setBounds(new Rectangle(new Point(10, 76), lblNroDoc.getPreferredSize()));
	
			{ // compute preferred size
				Dimension preferredSize = new Dimension();
				for(int i = 0; i < panel.getComponentCount(); i++) {
					Rectangle bounds = panel.getComponent(i).getBounds();
					preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
					preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
				}
				Insets insets = panel.getInsets();
				preferredSize.width += insets.right;
				preferredSize.height += insets.bottom;
				panel.setMinimumSize(preferredSize);
			}
		}
		contentPane.add(panel);
		panel.setBounds(27, 6, 356, 128);

		{ // compute preferred size
			Dimension preferredSize = new Dimension();
			for(int i = 0; i < contentPane.getComponentCount(); i++) {
				Rectangle bounds = contentPane.getComponent(i).getBounds();
				preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
				preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
			}
			Insets insets = contentPane.getInsets();
			preferredSize.width += insets.right;
			preferredSize.height += insets.bottom;
			contentPane.setMinimumSize(preferredSize);
			contentPane.setPreferredSize(new java.awt.Dimension(419, 164));
		}
		pack();
		this.setSize(451, 210);
		setLocationRelativeTo(getOwner());
	}

	private JButton btnCorrecto;
	private JButton btnIncorrecto;
	private JPanel space;
	private JPanel panel;
	private JTextField txtNroDoc;
	private JTextField txtTipoDoc;
	private JTextField txtApellido;
	private JTextField txtNombre;
	private JButton btnCancelar;
	private JButton btnAceptar;
	private JLabel jLabel4;
	private JLabel jLabel3;
	private JLabel jLabel2;
	private JLabel jLabel1;
	private JLabel lblNombre;
	private JLabel lblApellido;
	private JLabel lblTipoDoc;
	private JLabel lblNroDoc;
}
